#ifndef __TIMER5_6_H__
#define __TIMER5_6_H__

#include "timer_config.h"
#include "gd32f4xx.h"
#include "systick.h"

void timer5_6_init();

#if USE_TIMER5
extern void timer5_irq_handler();
void timer5_start();
void timer5_stop();
#endif

#if USE_TIMER6
extern void timer6_irq_handler();
void timer6_start();
void timer6_stop();
#endif

#endif